﻿#include<stdio.h>
int main()
{
	int i, j, n;
	scanf("%d", &n);
	for (i = 0; i < n; i++) {
		for (j = 0; j <= n - 1 + i; j++) {
			if (i == n - 1 || j == n - i - 1 || j == n + i - 1)
				printf("*");
			else
				printf(" ");
		}

		printf("\n");
	}
}